#include <QtGui/QApplication>
#include <cassert>
#include <pthread.h>

#include "chat_server.hpp"
#include "file_server.hpp"

int main(int argc, char *argv[])
{
	pthread_t chat_serv;
	pthread_t file_serv;

	QApplication app(argc, argv);
	signIn si;

	pthread_create(&chat_serv, NULL, chat_server, &si);
	pthread_create(&file_serv, NULL, file_server, &si);

	si.show();

	return app.exec();
}
